package avicit.bdp.dms.prm.runner;

import avicit.bdp.dms.prm.Integration.SubscribeServer;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.context.annotation.Configuration;
import org.springframework.core.annotation.Order;

/**
 * 启动数据集成消息服务订阅
 *
 */
@Configuration
@Order(1)
public class MsgStartupRunner implements CommandLineRunner {

    private static final Logger log = LoggerFactory.getLogger(MsgStartupRunner.class);


    @Autowired
    private SubscribeServer subServer;

    @Override
    public void run(String... args) throws Exception {
        //subServer.initKafkaSubscribeServer();

    }

}
